The Application Kit Table of Contents | The Application Kit Index |
Derived from: public BArchivable
Declared in: be/app/Cursor.h
Library: libbe.so
You can use a BCursor to represent a mouse cursor as an object instead of as a block of pixel data; this can be more convenient in some situations. Also, if you want to call BApplication::SetCursor() without forcing an immediate sync of the Application Server, you have to use a BCursor.
The default BCursors are B_CURSOR_SYSTEM_DEFAULT for the hand cursor and B_CURSOR_I_BEAM for the I-beam text editing cursor.
|
Initializes the new cursor object. If you specify a non-NULL value for cursorData, the cursor is initialized with the specified cursor data.
If you specify a NULL value for cursorData, the cursor is useless; since this class doesn't currently provide a means of setting the cursor data once the object is instantiated, you're out of luck, so why bother?
BCursor doesn't currently implement archiving, so you shouldn't use the second form.
|
Releases any resources used by the cursor.
|
Not currently implemented; always returns NULL.
See also: BArchivable::Instantiate(), instantiate_object(), Archive()
The Application Kit Table of Contents | The Application Kit Index |
Copyright © 2000 Be, Inc. All rights reserved..